#ifndef TAG_H
#define TAG_H
//  File:         Tag.h
//  Author:       Scott Nordmann & Lauren Wallace
//  Description:  A class definition for the Tag.
#include <string>
class TagSpec;
class Entry;

class Tag
{
public:
	//constructor
	Tag(TagSpec& specname, Entry& entryname);
	Tag(TagSpec& specname);

	~Tag();
	void removeFromTagSpec();

	//spec
	TagSpec* getSpec();
	void setSpec(TagSpec& specname);
	//entry
	Entry* getEntry();
	void setEntry(Entry& entryname);

private:
	TagSpec* spec;
	Entry* entry;
};

inline TagSpec* Tag::getSpec(){return spec;}
inline Entry* Tag::getEntry(){return entry;}

#endif